//
//  EMIconUnderLineTextF.h
//  EducationManagementSystem
//
//  Created by 花花蔡 on 2017/1/7.
//  Copyright © 2017年 com.HuaHuaCai. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    top,
    bottom,
    WithCountDownBtn,
} AnimationType;

@interface EMIconUnderLineTextF : UITextField

@property(nonatomic,assign) AnimationType type;


- (instancetype)initWithFrame:(CGRect)frame andImageName:(NSString *)imageName withPlaceholder:(NSString *)placeholder;

- (instancetype)initWithFrame:(CGRect)frame withPlaceholder:(NSString *)placeholder WithFontColor:(UIColor *)fontColor WithAnimationType:(AnimationType)type;

//- (instancetype)initWithCountDownBtnWithFrame:(CGRect)frame withPlaceholder:(NSString *)placeholder WithFontColor:(UIColor *)fontColor WithBtnClicked:(ButtomClickedWithSender)senderBlock;

@end
